package com.mou.dto;


import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class MessageDTO {
    @NotNull
    private Integer senderId;

    @NotNull
    private Integer receiverId;

    @NotBlank
    @Size(max = 500)
    private String content;
}
